package com.cupk.service.impl;

import com.cupk.mapper.OrdersMapper;
import com.cupk.pojo.Orders;
import com.cupk.service.OrdersService;
//import com.sun.org.apache.xpath.internal.operations.Or;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * 名称OrdersServiceImpl
 * 描述订单实现类
 *
 * @version 1.0
 * @author:zschun
 * @datatime:2022-06-23 23:36
 */
@Service
@Primary
public class OrdersServiceImpl implements OrdersService {
    @Autowired(required = false)
    private OrdersMapper ordersMapper;
    @Override
    public Orders findOrdersWithProduct(Integer id) {
        return ordersMapper.findOrdersWithProduct(id);
    }
}
